package com.frank.stock4j.tusharepro.bean;

import com.frank.stock4j.tusharepro.BaseBean;
import com.frank.stock4j.tusharepro.http.BaseRequestParam;

/**
* 描述：获取交易日历
* @author: codesmith
**/
public interface HkTradecalBean extends BaseBean {
    String API_NAME = "hk_tradecal";
    
    interface Fields {
    String cal_date = "cal_date";    //日历日期
    String is_open = "is_open";    //是否交易 &#39;0&#39;休市 &#39;1&#39;交易
    String pretrade_date = "pretrade_date";    //上一个交易日
    }
    
    interface Params {
        start_date start_date = new start_date();
        /*
        * 开始日期
        */
        class start_date extends BaseRequestParam {
            { key = "start_date"; }
        }
        end_date end_date = new end_date();
        /*
        * 结束日期
        */
        class end_date extends BaseRequestParam {
            { key = "end_date"; }
        }
        is_open is_open = new is_open();
        /*
        * 是否交易 &#39;0&#39;休市 &#39;1&#39;交易
        */
        class is_open extends BaseRequestParam {
            { key = "is_open"; }
        }
    }
}